<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@include file="/ui/jsp/includes/includes.jspf"%>
<%@include file="/ui/jsp/includes/noNavHeader.jspf"%>
<script type="text/javascript">
function checkUserName()
{	
		
	$('#forgotPasswordForm').attr('action', 'SecurityCheckOne.html');
	$('#forgotPasswordForm').submit();
}
function cancel()
{
	$('#forgotPasswordForm').attr('action', 'Dashboard.html');
	$('#forgotPasswordForm').submit();
}

$(document).ready(function() {
	$('#errorDiv').hide();
	
});
</script>
<div class="hero-unit secondary_container">
	<form:form id="forgotPasswordForm" method="POST" commandName="userLogin" class="form-horizontal" onkeypress="if(event.keyCode == 13) {javascript:checkUserName();}">
		<div id="errorDiv" class="errorblock"></div>
		<div class="control-group">
			<label>Please enter the User Name of your account below.<br/></label>
			<label class="control-label" for="userName">User Name</label>
			<div class="controls">
				<form:input id="userName" path="userName" autocomplete="off"/>
			</div>
		</div>
		
		<div class="control-group">
			<div class="controls" tabindex="0">
				<input type="button" id="button1" onclick="{javascript:checkUserName();}" value="Submit" class="btn btn-primary"/>
				<input type="button" id="button2" onclick="{javascript:cancel();}" value="Cancel" class="btn btn-primary"/>
			</div>
		</div>
		
	</form:form>
</div>
<%@include file="/ui/jsp/includes/footer.jspf"%>
